-- GENERATED SPELL FOR [Shael'dryn] --


function spell0_3916(pUnit, Event) --6Conjure Food,Self--
pUnit:FullCastSpellOnTarget(587,pUnit)
pUnit:RegisterEvent('Sorts_3916', 3000, 1)
end

function Sorts_3916(pUnit, Event)
local choix_sorts_3916 = math.random(0, 0)
if choix_sorts_3916 == 0 then
pUnit:RegisterEvent('spell0_3916', 1, 1)
end
end

function mob3916_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3916', math.random(1500, 3000), 1)
end

function mob3916_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3916_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3916_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3916, 1, 'mob3916_Action')
RegisterUnitEvent(3916, 2, 'mob3916_Leave')
RegisterUnitEvent(3916, 3, 'mob3916_Kill')
RegisterUnitEvent(3916, 4, 'mob3916_Die')
